<?php
/**
 * Address Block of the customer sheet
 *
 * @author Xavier VILAI
 * @package Shama
 * @license
 */
use Fox\Html\Input;
$block = new Fox\Html\Block("bAddress",Msg(Shama\Messages::BUNDLE,Shama\Messages::LABEL_ADDRESS));
$block->add(new Input(array("adress","street")));
$block->add(new Input("postal_code"));
$block->add(new Input("city"),2,"postal_code");
$block->add(new Input("phone1"));
$block->add(new Input("phone2"),2,"phone1");
$block->add(new Input(array("email","email1")))->size(Input::SIZE_MEDIUM);
$block->add(new Input("faxnum"),2,"email1")->size(Input::SIZE_MEDIUM);

$block->collapsed(false);
return $block;